from django.conf.urls import patterns, include, url
from api.views import get_location, share_location, register

# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
	# Examples:
	# url(r'^$', 'whereru.views.home', name='home'),

	url(r'register/(?P<register_id>.+)/(?P<phone_number>.+)/$', register),
	url(r'request_location/', get_location),
	url(r'share_location/', share_location),

	#url(r'^online/(?P<clientid>.+)$', 'webserver.views.online', name='online'),

	# Uncomment the admin/doc line below to enable admin documentation:
	# url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

	# Uncomment the next line to enable the admin:
	# url(r'^admin/', include(admin.site.urls)),
)
